Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 51 lines (41 sloc) 1.467 kb
1a56ae8 @mhroth Add MessageListLength (list length).
authored
1 /*
2 * Copyright 2010 Reality Jockey, Ltd.
3 * info@rjdj.me
4 * http://rjdj.me/
5 *
6 * This file is part of ZenGarden.
7 *
8 * ZenGarden is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * ZenGarden is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with ZenGarden. If not, see <http://www.gnu.org/licenses/>.
20 *
21 */
22
23 #ifndef _MESSAGE_LIST_LENGTH_H_
24 #define _MESSAGE_LIST_LENGTH_H_
25
26 #include "MessageObject.h"
27
28 /** [list length] */
29 class MessageListLength : public MessageObject {
30
31 public:
32 MessageListLength(PdMessage *initMessage, PdGraph *graph);
33 ~MessageListLength();
34
7329847 @mhroth Add static factory method to all objects in order to create an object in...
authored
35 static const char *getObjectLabel();
3f6a39c @Kyew Rewrote header functions as inline, add toString to all objects
Kyew authored
36 std::string toString();
1a56ae8 @mhroth Add MessageListLength (list length).
authored
37
38 private:
39 void processMessage(int inletIndex, PdMessage *message);
40 };
41
3f6a39c @Kyew Rewrote header functions as inline, add toString to all objects
Kyew authored
42 inline const char *MessageListLength::getObjectLabel() {
43 return "list length";
44 }
45
46 inline std::string MessageListLength::toString() {
47 return MessageListLength::getObjectLabel();
48 }
49
1a56ae8 @mhroth Add MessageListLength (list length).
authored
50 #endif // _MESSAGE_LIST_LENGTH_H_
Something went wrong with that request. Please try again.