Ginga  0.13.6.1771-df200
The iTV middleware.
NclArea.h
Go to the documentation of this file.
1 /* Copyright (C) 2006-2017 PUC-Rio/Laboratorio TeleMidia
2 
3 This file is part of Ginga (Ginga-NCL).
4 
5 Ginga is free software: you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9 
10 Ginga is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
13 License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with Ginga. If not, see <http://www.gnu.org/licenses/>. */
17 
18 #ifndef NCL_AREA_H
19 #define NCL_AREA_H
20 
21 #include "NclAnchor.h"
22 
24 
25 class NclArea: public NclAnchor
26 {
27 public:
28  NclArea (NclDocument *, const string &, Time, Time);
29  Time getBegin ();
30  Time getEnd ();
31 
32 protected:
35 };
36 
37 class NclAreaLambda: public NclArea
38 {
39 public:
40  NclAreaLambda (NclDocument *doc, const string &id)
41  :NclArea (doc, id, 0, GINGA_TIME_NONE) {};
42 };
43 
45 
46 #endif // NCL_AREA_H
Definition: NclDocument.h:25
Time getBegin()
Definition: NclArea.cpp:30
Definition: NclArea.h:37
#define GINGA_NAMESPACE_END
Definition: aux-ginga.h:62
Definition: NclAnchor.h:25
#define GINGA_NAMESPACE_BEGIN
Definition: aux-ginga.h:61
Time getEnd()
Definition: NclArea.cpp:36
Time _end
Definition: NclArea.h:34
NclAreaLambda(NclDocument *doc, const string &id)
Definition: NclArea.h:40
#define GINGA_TIME_NONE
Definition: aux-ginga.h:118
Time _begin
Definition: NclArea.h:33
Definition: NclArea.h:25
NclArea(NclDocument *, const string &, Time, Time)
Definition: NclArea.cpp:22
GstClockTime Time
Definition: aux-ginga.h:115