Veda/PackList_TimeBlockTrack.h File Reference


Detailed Description

This file applies the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 , read file COPYING.

Author:
victorien ferry & www.m4nkind.com

Definition in file PackList_TimeBlockTrack.h.

#include "PackList.h"
#include "PackFloat_FixedPoint.h"

Go to the source code of this file.

Classes

class  PackList_TimeBlockTrack
 List that defines a set of TimeTrackElement extended objects. the difference with PackList_TimeTrack is that elements serialize block length and not dates... More...
class  PackList_TimeBlockTrack::TimeBlockTrackElement
 Nested class that describe a dated element in the list. It has to be extended with new serializable members (ex: splines, scripts, music tracks..). It manages the fact that the time are kept sorted in edition mode. More...
class  PackList_TimeBlockTrack::TimeBlockTrackElement::PackFloat_FixedPoint_TimeBlock
 Nested class that patch the virtual PackFloat_FixedPoint::Set() in edition mode, in order to force a test to assure that the elements of the list are kept sorted by time date when edited. (yes, it is tricky, but private.). More...

Defines

#define REGISTER_MEMBER_TIMEBLOCKTRACK(_object, _MemberName, _DefaultTimeCellLengthSec)
 This macro is used to register a serializable member in a class constructor. For editable mode, it uses _MemberName to explicit the use of the member, in order to display it in a GUI for example.


Define Documentation

#define REGISTER_MEMBER_TIMEBLOCKTRACK _object,
_MemberName,
_DefaultTimeCellLengthSec   ) 
 

Value:

RegisterSerializableMember(_object);\
_object.SetMemberName( _MemberName );\
_object.SetDefaultTimeCellLength(_DefaultTimeCellLengthSec);
This macro is used to register a serializable member in a class constructor. For editable mode, it uses _MemberName to explicit the use of the member, in order to display it in a GUI for example.

Parameters:
_object the member object
_MemberName the info string, 0L if not editable.
_DefaultTimeCellLengthSec a default time length, or 0L if no particular time length.

Definition at line 144 of file PackList_TimeBlockTrack.h.


      /\/\        4         N         k         !         N         D
                      _______  _ __ ___  _____            ___ _ _  ____
     ___________  __//___   /________  |/    / ___________\_______/    \
    /   _   _   \/   _     /    _   /      _/_/____/    _       __     /
   /    /   /       /     /    /    \      \/     /    /    \   \     /
  \\___/___/___/    ¯    _____/_____/       ______\___/_____/\________\\
               \________/_ ___ __ l____\      /elD!  
                 http://www.m4nkind.com \____/